<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>DAS Registry Sources List</title>
<link rel="stylesheet"    type="text/css"     href="http://localhost:8080/regrestclient/css/stylesheet.css" />
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/jquery-1.6.4.js"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/RegClientConfig.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/addOrUpdateJsonSources.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/WriteCoordinatesSelector.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/webtoolkit.base64.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/SourceUtils.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/CoordinateUtils.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/WriteCapabilitiesSelector.js?${config.startupTime}"></script>
 <script type="text/javascript" src="http://localhost:8080/regrestclient/javascript/json2.js?${config.startupTime}"></script>
 
</head>
<body>

<h2>Register or update new DAS 1 source</h2>
<div id="NoSourceIdExists"></div>

Username:<input id="username" type="text"></input>
<br/>
Password:<input id="password" type="password"></input>
<div id="table">
<table class="dastable">

<!-- title/nickname -->
     <tr class="row1"><td valign="top">
     1.
     </td>
     <td valign="top">
     Title
     </td>
     <td>
     <input type="text" id="title" size="40"></input>
     </td>

     <td valign="top" align="right">	
	 <a href="help_reference.jsp#nickname">help</a><br/>
     </td>

     </tr>


<!-- coordianteSystem -->
	<tr class="row2"><td valign="top">
	2.
	</td>
	<td valign="top">
	Choose Coordinate System     </td>
	
	<td><select id="coordinatesSelector" name="CSTypes" multiple size="5">
	</select>
	</td>

	<td valign="top" align="right">	
	<a href="help_coordsys.jsp">help</a><br/>
	</td>
	</tr>

	

<!-- DAS url -->
	<tr class="row1"><td valign="top">
	3.</td>
	<td> DAS Registry Uri     </td>
	<td><input type="text" id="uri" size="40" value="DS_"/> 
	</td>

	<td valign="top" align="right">	
	<a href="help_reference.jsp#url">help</a>
	</td>
	</tr>
	rootUrl
	<tr class="row1"><td valign="top">
	4.</td>
	<td>Original Uri     </td>
	<td><input type="text" id="rootUri" size="40" value="http://"/> 
	</td>

	<td valign="top" align="right">	
	<a href="help_reference.jsp#url">help</a>
	</td>
	</tr>


<!--  owner -->
	<tr class="row2"/>
	<td valig="top">
	4.</td>
	<td>Last Edited by</td>
	<td><input id="owner"></input></td>
	<td valign="top" align="right">	
	<a href="help_email.jsp">help</a>
	</td>
	</tr>
	
<!-- email -->
	<tr class="row1"><td valign="top">
	5.</td>
	<td> Admin email </td>

	<td> 
		<input id="adminemail"/>
	</td>
	<td valign="top" align="right">	
	<a href="help_reference.jsp#email">help</a>
	</td>

	</tr>
	
<!-- description -->
	<tr class="row2"><td valign="top">
	6.</td>
	<td valign="top"> Description</td>
	<td> <textarea cols="40" rows="4" id="description"></textarea></td>
	<td valign="top" align="right">	
	<a href="help_reference.jsp#description">help</a>
	</td>

</tr>

<!-- DAS capabilities -->
	<tr class="row1"><td valign="top">
	7.</td>
	<td valign="top"> DAS capabilities</td> 

	<td>    <select id="capabilitiesSelector" size="7" multiple>
	
		 </select>
		 


	</td>
	<td valign="top" align="right">	
	<a href="help_capabilities.jsp">help</a>
	</td>
	</tr>



<!-- more details url -->
	<tr class="row2">
	<td valign="top">
	8.</td><td> URL for more detailed description</td>
	<td> 
	<input type="text" id="doc_href" size="40"
	value=""
	/>
	</td>
	<td valign="top" align="right">
	<a href="help_reference.jsp#helperurl">help</a>
	</td>

<tr class="row2"><td valign="top">
	9.</td>
	<td valign="top">Select the DAS specification this source conforms to</td><td><select id="spec"><option value="DAS/1.53E" >DAS/1.53E</option>
	<option value="DAS/1.6E"  >DAS/1.6E</option></select></td><td></td></tr>
 
<!-- alert me if server is down ... -->
	<tr class="row1">
	<td valign="top">
	10.</td>
	<td valign="top"> send me an alert email if server is down for > 2 days.</td>
	<td> 	
		<input type="checkbox" name="alertMe" value="1"  checked/>
		
	</td>
	<td valign="top" align="right">
	<a href="help_reference.jsp#alert">help</a><br/>
	</td>
	</tr>

	<tr class="row2">
	<td valign="top">
	admin only	
	</td>
	<td valign="top"> do not perform the registry validation for this das source</td>
	<td>
		<input type="checkbox" name="ignoreValidation" value="1" />
		
	</td>
	<td valign="top" align="right">
	&nbsp;
	</td>
	</tr>


<!-- submit -->
	<tr><td colspan="4" align="right">
	<input id="update" type="submit" value="save data and goto next step">
	</td>
	</tr>
	</table>


	<!--<input type="hidden" name="numbcoordinateentries" value="2">-->	






</table>

</div>

<div id="result"></div>

</body>
</html>